/*
 * @Author: early-autumn
 * @Date: 2020-05-18 17:07:35
 * @LastEditors: early-autumn
 * @LastEditTime: 2020-05-27 17:25:17
 */

import request from '@/utils/request'

// 查询员工列表
export function listStaff(query) {
  return request({
    url: '/system/user/listbyPostName',
    method: 'get',
    params: query,
  })
}

// 发送短信
export function sendTextMessage(data) {
  return request({
    url: '/common/sendsms',
    method: 'post',
    data: data,
  })
}

// 搜索市场建档和患者
export function userMatcherRequest(data) {
  return request({
    url: '/erp/extend/search',
    method: 'post',
    data: data,
  })
}
